home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / isc3-0.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  1.4 KB  |  40 lines

  1. /* Synched up with: FSF 19.29. */
  2.  
  3. /* s- file for Interactive (ISC) Unix version 3.0 on the 386.  */
  4.  
  5. #include "isc2-2.h"
  6.  
  7. /* This appears on 3.0, presumably as part of what SunSoft call X2. */
  8. #undef NO_X_DESTROY_DATABASE
  9.  
  10. /* People say that using -traditional causes lossage with `const',
  11.    so we might as well try getting rid of -traditional.  */
  12. #undef C_SWITCH_SYSTEM
  13.  
  14. /* We indirectly #include s/usg5-3.h, which says to use libX11_s and
  15.    libc_s.  Martin Tomes <mt00@controls.eurotherm.co.uk> says that ISC
  16.    has no libX11_s, and that linking with libc_s causes sbrk not to work.  */
  17. #undef LIB_X11_LIB
  18. #undef LIBX11_SYSTEM
  19. #define LIBX11_SYSTEM -lpt -lnls -lnsl_s
  20.  
  21. /* TIOCGWINSZ isn't broken; you just have to know where to find it.  */
  22. #undef BROKEN_TIOCGWINSZ
  23. #define NEED_SIOCTL
  24.  
  25. /* select works okay on the X ptys, but not on the serial port.  */
  26. #define BROKEN_SELECT_NON_X
  27.  
  28. /* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix
  29.    signal symbols; might as well use _XOPEN_SOURCE.  Defining _SYSV3
  30.    ensures that we don't lose the traditional symbols as a side effect
  31.    from this or __STDC__ being defined.  */
  32. #define C_SWITCH_SYSTEM -D_XOPEN_SOURCE -D_SYSV3
  33.  
  34. #ifdef __GNUC__  /* Currently we use -lcposix only with gcc */
  35. /* This works around a bug in ISC 4.0 and 3.0; it fails
  36.    to clear the "POSIX process" flag on an exec.
  37.    It won't be needed for 4.1.  */
  38. #define EXTRA_INITIALIZE __setostype (0)
  39. #endif
  40.